package utils.queue;

/**
 * @author yaohuaiying
 * @create 2018-02-09 17:35
 **/
public class QueueNode {
    private int data;
    private QueueNode next;

    public QueueNode() {
    }

    public QueueNode(int data){
        this.data = data;
        this.next = null;
    }

    public int getData() {
        return data;
    }

    public void setData(int data) {
        this.data = data;
    }

    public QueueNode getNext() {
        return next;
    }

    public void setNext(QueueNode next) {
        this.next = next;
    }
}
